include mixin
ul.breadcrumb
	li
		a(href='/portal/index') 首页
	li.sep >
	li
		a(href='/portal/mygf/asset') 我的广发
	li.sep >
	li 我的订阅
	
.yui3-g
	include ../include/infoside
				
	.yui3-u-3-4
		section.mySubscription.list.border-arc
			h2.cd.highLightTitle.padleft20
				.font12.afc.mleft20.pull-right(style='margin-top:25px;font-weight:normal') 温馨提示：目前仅提供历史近7天的订阅短彩信内容的查询。
				span 我的订阅
			.subscriptionsContainer.btop.padtop10(ng-show='showMode == "list"')
				.searchContainer
					span.tip 起始日期：
					input(type='text', ng-model='beginDate', gf-date, readonly, style='width:100px')
					span.tip 截至日期：
					input(type='text', ng-model='endDate', gf-date, readonly, style='width:100px')
					button.searchBtn.vam.font14.mleft10(ng-click='search()') 查询
					span.tip 关键字
					.searchCtrl.border-arc
						button.search(type='submit', ng-click='search()')
						input(type='search', ng-model='keyword', name='keyword', placeholder='关键字')
					//- input(type='text', ng-model='keyword').lrem.mrem
					//- button.btn(ng-click='search()') 搜索
				.subscriptions
					table(ng-repeat='subscription in subscriptions')
						tr.dateView: td(colspan='4') {{subscription.date}}
						tr.info(ng-repeat='item in subscription.items')
							//- td.checkbox: input(type='checkbox')
							td.category {{item.product_name}}
							td.name(ng-click='showSubscription(item)') {{item.msg_content}}
							td.createdAt {{item.fssj|date:'yyyy-MM-dd h:mm'}}
					mixin pager
			.subscriptionContainer.btop.padtop10(ng-show='showMode == "item"')
				.info(ng-show='!subscriptionDetail.error_no')
					.title.bc {{subscription.msg_content}}（{{subscription.product_name}}）
					.createdAt {{subscription.fssj|date:'yyyy-MM-dd h:mm'}}
				p.content.bc(ng-bind-html-unsafe="subscriptionDetail.content || subscriptionDetail.error_info") .
				a.tac.back.btn(href='javascript:;', ng-click='back()') 返回列表